
kernel-path=/home/wlz/app/linux/ATOMPI-CA1_SDK_v1.1/kernel/
current-path=$(shell pwd)

obj-m += mychar.o

all:
	make -C $(kernel-path) M=$(current-path) modules ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu-
	# make -C $(kernel-path) M=$(current-path) modules ARCH=x86


clean:
	make -C $(kernel-path) M=$(current-path) clean
